/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import com.opensymphony.xwork2.ActionSupport;
import entity.Field_Event;
import model.bll.Field_EventBLL;

/**
 *
 * @author Hailk_c00639
 */
public class AddFieldEventAction extends ActionSupport{
    private Field_Event fieldEvent;
    
    public AddFieldEventAction() {
    }
    
    @Override
    public String execute() throws Exception {
        new Field_EventBLL().insertFieldEvent(fieldEvent);
        
        return SUCCESS;
    }

    /**
     * @return the fieldEvent
     */
    public Field_Event getFieldEvent() {
        return fieldEvent;
    }

    /**
     * @param fieldEvent the fieldEvent to set
     */
    public void setFieldEvent(Field_Event fieldEvent) {
        this.fieldEvent = fieldEvent;
    }
}